import axios from "@/libs/axios";
// 

export const jbxx_queryList_post = (...args) => axios.post("/jbxx/queryList", ...args); // 数据查询首页接口

export const data_jbxx_save_post = (...args) => axios.post("/jbxx/save", ...args); //保存新增监察对象

export const data_jbxx_edit_post = (...args) => axios.post("/jbxx/edit", ...args); //编辑保存新增监察对象

export const data_jbxx_downFile_get = (...args) => axios.get("/jbxx/downFile", ...args); //下载模板

export const data_jbxx_delete_post = (...args) => axios.postWWWFormUrlencoded("/jbxx/delete", ...args); //删除单个监察对象

export const data_jbxx_batchDelete_post = (...args) => axios.post("/jbxx/batchDelete", ...args); //批量删除监察对象

export const data_jbxx_batchCheck_post = (...args) => axios.post("/jbxx/batchCheck", ...args); //批量提交监察对象

export const data_jbxx_allExport_post = (...args) => axios.downloadFile("/jbxx/allExport", ...args); //全部导出

export const data_analysis_area_get = () => axios.get('/office/tree') //获取地区列表
export const data_analysis_data_post = (...data) => axios.post('/jbxx/count', ...data) //获取地区列表
export const data_jbxx_downFile_template = () => axios.get('/jbxx/downFile')

//获取最近搜索数据
export const data_search_recent = () => axios.get('/log/searchHistory')
    //搜索详情
export const data_jbxx_queryDetail = (...data) => axios.post('/jbxx/queryDetail', ...data)
    //维护列表
export const data_jbxx_maintailList_post = (...data) => axios.post('/jbxx/maintailList', ...data)
    //维护详情
export const data_jbxx_maintailDetail_post = (...data) => axios.post('/jbxx/maintailDetail', ...data)

//录入列表
export const jbxx_enterList_post = (...args) => axios.post("/jbxx/enterList", ...args); // 列表
//录入详情
export const jbxx_enterDetail_post = (...args) => axios.post("/jbxx/enterDetail", ...args); // 列表
//画像详情
export const jbxx_portraitDetail_post = (...args) => axios.post('/jbxx/portraitDetail', ...args)
    //数据目录列表查询
export const get_catalogue_list = (...args) => axios.get('/dataProvider/list', ...args)
    //数据目录导出
export const export_catalogue_list = (...args) => axios.get('/dataProvider/export', ...args)